package com.example.cuibo.basicarray.cn.itcast.list;

import java.util.Enumeration;
import java.util.Vector;

/**
 * Created by cuibo on 2017/10/31.
 */

public class DemoVector {

    public void xxx(){
        Vector v = new Vector(); // 创建集合对象。List子类
        v.addElement("a");
        v.addElement("a");
        v.addElement("a");
        v.addElement("a");
        Enumeration en = v.elements();
        while (en.hasMoreElements()){

        }
    }
}


